function [ hxu,hyu,dvu,dxr,dxl,dyt,dyb ] = getSpacingV( i,j,Xv,Yv )

if (i==1)
    dxl = 0;
else
    dxl = Xv(i) - Xv(i-1);
end

if (i==size(Xv,1))
    dxr = 0;
else
    dxr = Xv(i+1) - Xv(i);
end
    
if (j==1)
    dyb = 0;
else
    dyb = Yv(j) - Yv(j-1);
end
    
if (j==size(Yv,1))
    dyt = 0;
else
    dyt = Yv(j+1) - Yv(j);
end


hxu = 0.5*(dxr+dxl);
hyu = 0.5*(dyt+dyb);
dvu = hxu*hyu;



end

